﻿using OnlineCourse.Model.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace OnlineCourse.Services.IServices
{
    public interface  ITeacherServices
    {
        /// <summary>
        /// 添加老师信息
        /// </summary>
        /// <param name="name"></param>
        /// <param name="headImage"></param>
        /// <param name="intro"></param>
        /// <param name="courses"></param>
        /// <returns></returns>
        bool Add(string name, string headImage, string intro);
        /// <summary>
        /// 更改老师信息
        /// </summary>
        /// <param name="id"></param>
        /// <param name="name"></param>
        /// <param name="headImage"></param>
        /// <param name="intro"></param>
        /// <param name="courses"></param>
        /// <returns></returns>
        bool Update(Guid id, string name, string headImage, string intro);
        /// <summary>
        /// 查询老师信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        List<Teacher> GetList(Guid id);
        /// <summary>
        /// 删除老师信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        bool Delete(Guid id);
    }
}
